Set Direction and Speed

  • Function:

    go.set_move_speed_direct(direction,speed)
    
  • Description: set direction and speed of Magician Go

  • Required parameter:

    • direction: direction of Magician Go; data type: float; range: -180°~180°

      The current position is 0°. The angle in the counterclockwise direction is positive, and in the clockwise direction is negative.

    • speed: speed of Magician Go; data type: float; range: 0~100 cm/s.

  • Return:

    • True: The command has been finished.
    • False: The command has not been finished.
  • Example

    go.set_move_speed_direct(direction=0,speed=20)
    

    Set the direction of Magician Go as 0°, and speed as 20 cm/s.

results matching ""

    No results matching ""